#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
//struct S
//{
//	int n;
//	float f;
//	int* arr;
//};

typedef struct st_type
{
	int i;
	int* p_a;
}type_a;

int main()
{
	//struct S s;
	int j = 0;
	type_a* p = (type_a*)malloc(sizeof(type_a));
	p->i = 1;
	int n = sizeof( type_a );
	p->p_a[1] = 2;
	//p->p_a[1] = 3;

	printf("%d\n", p->i);
	printf("%d\n", p->p_a[0]);
	//printf("%d\n", p->p_a[1]);

	return 0;
}